]> dgit.raspbian.org Git - gnome-shell.git/commit
search-tab: Don't handle clicks on inactive icon
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Apr 2011 19:53:07 +0000 (21:53 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 11 Apr 2011 18:57:05 +0000 (20:57 +0200)
commit018e3bc35f228aa1389cdc0dcc9c3dcb2e28c3ef
treecee0f4641c8e29d07630665712557b252d920233
parenta56bc9d933c4e863854059f92346bf307ff18c6d
search-tab: Don't handle clicks on inactive icon

The icon set as secondary icon of the search entry depends on whether
a search is active or not - clicking the icon should reset the entry
only in the former case. This is implemented by connecting/disconnecting
the 'secondary-icon-clicked' signal when updating the icon, but an
additional signal connection was left-over when refactoring the search
entry, resulting in clicks on the inactive icon removing the hint text.
Fix by removing the stray signal connection.

https://bugzilla.gnome.org/show_bug.cgi?id=646855
js/ui/viewSelector.js